const { baseModel } = require('./baseModel');
const mongoose = require('mongoose');
const jobAndBtnSchema = new mongoose.Schema({
    //职位id
    jobId:{
        type:mongoose.Schema.Types.ObjectId,
        ref:'Job',
        required:true
    },
    //按钮id
    btnId:{
        type:mongoose.Schema.Types.ObjectId,
        ref:'Button',
        required:true
    }
})

module.exports = jobAndBtnSchema;